🎨 Palette: Consistent number formatting for daily ledger#115
🎨 Palette: Consistent number formatting for daily ledger#115
Conversation
Adds thousands separators to financial outputs in the CLI simulation to reduce cognitive load and improve readability for large numbers. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What:
Added thousands separators (
:,.2fand:,.4f) to all numerical financial outputs in thesimulate_tradingdaily ledger output, ensuring that prices, cash, and total portfolio values are easier to read.🎯 Why:
Large, unbroken strings of numbers (e.g.,
100000.00vs100,000.00) are difficult to parse visually and significantly increase cognitive load for users scanning CLI logs or simulation output.📸 Before/After:
Before:
Day 10: Portfolio Value: $12000.50, Cash: $5000.00, BTC: 0.1400🟢 Day 1: Buy 0.2000 BTC at $50000.00After:
Day 10: Portfolio Value: $12,000.50, Cash: $5,000.00, BTC: 0.1400🟢 Day 1: Buy 0.2000 BTC at $50,000.00♿ Accessibility:
Cognitive accessibility improvement: By structuring the data with thousands separators, it reduces the mental effort required to decode and compare values, particularly for users with dyscalculia or cognitive impairments.
PR created automatically by Jules for task 7704558688979285777 started by @EiJackGH